From e8ca11f2f69648e1998944fbc1ba54a15e4b26dc Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 11 Sep 2008 15:16:11 +0100 Subject: [PATCH] xendomains script: A few bug fixes. Contributed-by: Artur Linhart Signed-off-by: Ian Jackson --- tools/examples/init.d/xendomains | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/examples/init.d/xendomains b/tools/examples/init.d/xendomains index 987f994a4f..5c2e492f03 100644 --- a/tools/examples/init.d/xendomains +++ b/tools/examples/init.d/xendomains @@ -327,15 +327,17 @@ stop() if test $id = 0; then continue; fi echo -n " $name" if test "$XENDOMAINS_AUTO_ONLY" = "true"; then - case $name in + eval " + case \"\$name\" in ($NAMES) # nothing ;; (*) - echo -n "(skip)" + echo -n '(skip)' continue ;; esac + " fi # XENDOMAINS_SYSRQ chould be something like just "s" # or "s e i u" or even "s e s i u o" -- 2.30.2